<template>
  <div id="app">
    <!-- 路由出口，显示最后的计算结果，根据url变成不同的组件 -->
    <!-- <router-view name="a" class="a"></router-view>
    <router-view name="b" class="b"></router-view> -->
    <router-view></router-view>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
// import Contact from './components/Contact.vue'

export default {
  name: 'App',
  components: {
    // Contact
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
/* 高亮显示当前项，url和router-link的to属性相等时，就会激活 */
.router-link-exact-active,
.act666 {
  color: red;
}
</style>
